#pragma once
#undef UNICODE

#define WIN32_LEAN_AND_MEAN

#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdlib.h>
#include <stdio.h>

// Need to link with Ws2_32.lib
#pragma comment (lib, "Ws2_32.lib")

#pragma comment(lib, "Ws2_32.lib")
class TcpServer
{
public:
	TcpServer();
	~TcpServer();
	bool listen(const char* port);
private:
	bool initWsa();
};

